package com.itheima01;

public class 三个数比较大小 {

    public static void main(String[] args) {
        getmax();
    }

    public static void getmax() {
        int a = 10;
        int b = 70;
        int c = 50;

        if (a >= b & a >= c) {
            System.out.println(a);
        } else if (b >= a && b >= c) {
            System.out.println(b);
        } else {
            System.out.println(c);
        }
    }
}
